<section id="maincontent" class="eight columns positionleft">
    <div class="padcontent">

        <section class="content">
            {{range  .Articles}}

            <article class="post">
                <div class="date-wrapper">
                    <div class="date-value">{{.CreatedAt.Format "02"}}</div>
                    <div class="month-value">{{.CreatedAt.Format "Jan"}}</div>
                </div>
                <div class="header-wrapper">
                    <h2 class="posttitle"><a href="/article/{{.Id}}">{{.Title}}</a></h2>
                    <div class="entry-utility">
                        <div class="user">浏览人数： <a href="#">{{.Count}}</a></div>
                        <div class="tag">分类: <a href="#">{{.Cat.Name}}</a></div>
                    </div>
                </div>
                <div class="clear"></div>
                <div class="postimg">
                    <img src="{{.Thumb}}" alt=""/>
                </div>

                <div class="entry-content">
                    <span class="article_info">{{.Content}}</span>
                    <a href="/article/{{.Id}}" class="more">Read more &rarr;</a>
                </div>

                <div class="clear"></div>
            </article>

            {{end}}

            <div class="wp-pagenavi">
                <span class="pages">Page {{.Paginator.Page}}  of {{.Paginator.PageNums}}</span>
                {{range $index, $page := .Paginator.Pages}}
                <a class="page" href="{{$.paginator.PageLink $page}}"><span {{if $.paginator.IsActive .}} class="current"{{end}}>{{$page}}</span></a>
                {{end}}
            </div>
        </section>

    </div>
</section>


<!-- END MAIN CONTENT -->
        

